package com.hsy.crm.web.domain.entity;

import com.hsy.crm.web.domain.cm.Validate;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.Transient;

@Table(name="t_store_check_detail")
public class StoreCheckDetail extends BaseEntity{

    @Transient
    private Long storeProductId;

    @Validate
    @Column(length = 20)
    private Long storeCheckId;

    @Validate
    @Column(length = 20)
    private Long productId;

    @Validate
    @Column(length = 20)
    private Long unitId;

    @Validate
    @Column(length = 20)
    private Long storeId;

    @Validate
    @Column(length = 20)
    private Long companyId;

    /**
     * 盘点数量
     */
    @Validate
    @Column(length = 20)
    private Long checkNumber;

    /**
     * 盘点单价
     */
    @Validate
    @Column(length = 20)
    private Long checkPrice;

    /**
     * 盈亏数量
     */
    @Validate
    @Column(length = 20)
    private Long changeNumber;

    public Long getStoreProductId() {
        return storeProductId;
    }

    public void setStoreProductId(Long storeProductId) {
        this.storeProductId = storeProductId;
    }

    public Long getStoreCheckId() {
        return storeCheckId;
    }

    public void setStoreCheckId(Long storeCheckId) {
        this.storeCheckId = storeCheckId;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Long getUnitId() {
        return unitId;
    }

    public void setUnitId(Long unitId) {
        this.unitId = unitId;
    }

    public Long getStoreId() {
        return storeId;
    }

    public void setStoreId(Long storeId) {
        this.storeId = storeId;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public Long getCheckNumber() {
        return checkNumber;
    }

    public void setCheckNumber(Long checkNumber) {
        this.checkNumber = checkNumber;
    }

    public Long getCheckPrice() {
        return checkPrice;
    }

    public void setCheckPrice(Long checkPrice) {
        this.checkPrice = checkPrice;
    }

    public Long getChangeNumber() {
        return changeNumber;
    }

    public void setChangeNumber(Long changeNumber) {
        this.changeNumber = changeNumber;
    }
}
